Make AnthroSource and CiteULike Play Well Together

(update: Thanks to some fancy scriptin’ by Chris “AnthroSource and CiteULIke now play well together”:/2005/06/27/citeulike-and-anthrosource-are-friends/ and Kerim even has a tutorial on “how to use the two”:/2005/06/27/tutorial-how-to-use-citeulike-with-anthrosource/ if you are not super web-savvy. Happy tagging!)

As Kerim “recently noted”:/2005/06/24/the-savage-minds-reading-list/ “CiteULike”:http://www.citeulike.org/ doesn’t know how to work with “AnthroSource”:http://www.anthrosource.net/. This makes interweb-savvy anthros cry. Luckily, Richard — the good soul behind CiteULike — has recently released a “CiteULike Developers Plugin Kit”:http://svn.citeulike.org/svn/plugins/HOWTO.txt which allows anyone with even a little scripting savvy to write a plugin that will allow AnthrSource and CiteULike to play well together (AnthroSource’s URLs look pretty easy to parse out, based on what I’ve seen).

Does anyone feel like writing up such a thing? I would do so myself but I am already so over committed it isn’t even funny 🙁 If anyone out there feels so inclined PLEASE let me know — not only will you get mad props from Savage Minds, you’ll demonstrate to AnthroSource and the AAA the power of open source development and open access scholarship. And, most important of all, you’ll make the web a better place for everyone to browse.

Rex

Alex Golub is an associate professor of anthropology at the University of Hawai‘i at Mānoa. His book Leviathans at The Gold Mine has been published by Duke University Press. You can contact him at rex@savageminds.org

4 thoughts on “Make AnthroSource and CiteULike Play Well Together

  1. Lets do it collaboratively! I’ve set up a page on my wiki which will allow us to discuss and work on the code. If you know some code please take a look, as I’ve already found some short-cuts that might help us. (e.g. did you know that AnthroSource can produce an on-screen BibTex file?)

  2. The CiteULike developer confirmed that this short cut should work. There are perl script plugins that will automate the process of navigating to the BibTex output page from the citation page. If we can send the BibTex output to CiteULike, they can handle the rest!

    In other words, this means there is no need to develop special code to parse the AnthroSource web site citation pages. We just need code to tell CiteULike how to navigate to the BibTex output page from the citation page.

    That’s about as much as I can do on this. We need someone who knows Perl to do the rest!

    See the wiki for more info.

  3. kerim, i can’t post on your wiki, it doesn’t like any thing i put there.

    in principle, it should be possible to simply send a post request to get the bibtex file,

    here is approx what the anthrousource citation page sends:

    http://www.anthrosource.net/action/downloadCitation

    doi=10.1525%2Faa.2005.107.2.183&downloadFileName=aaa_aa107_183

    include=cit

    format=bibtex

    direct=1

    or something like that

    and this, or something like it, should mimic that. this doesn’t work yet though:


    #!/usr/bin/perl -w
    use strict;
    use warnings;
    use LWP;

    my $browser = LWP::UserAgent->new;
    my $url="http://www.anthrosource.net/action/downloadCitation";

    my $response = $browser->post( $url,
    [
    'doi' => '10.1525%2Faa.2005.107.2.183', #example
    'downloadFileName' => 'aaa_aa107_183',
    'include' => 'cit',
    'format' => 'bibtex',
    'direct' => '1'
    ]
    );
    print "$response\n";

  4. Hmm. Thanks. I noticed that something was triggering the SPAM filtering on my wiki as well. But unlike WordPress there doesn’t seem to be any way to moderate or override the settings. I probably need to upgrade to a newer version of the software…

Comments are closed.